package com.winchain.chainbill.bill.base.service.impl;

import com.shell.bee.persistence.service.impl.PersistentServiceImpl;
import com.winchain.chainbill.bill.base.po.CbDctRpmt;
import com.winchain.chainbill.bill.base.service.CbDctRpmtService;
import org.springframework.stereotype.Service;

@Service("cbDctRpmtService")
public class CbDctRpmtServiceImpl extends PersistentServiceImpl<CbDctRpmt> implements CbDctRpmtService {
	public CbDctRpmt selectDctRpmtByBizIdAndType(String bizId, String rpmtType) {
		CbDctRpmt cbDctRpmt = new CbDctRpmt();
		cbDctRpmt.setBizId(bizId);
		cbDctRpmt.setRpmtType(rpmtType);
		return (CbDctRpmt) selectOne(cbDctRpmt);
	}
}
